package com.itheima.health.dao;

import com.itheima.health.pojo.SetmealCheckgroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SetmealCheckgroupMapper extends Mapper<SetmealCheckgroup> {
    @Select("SELECT setmeal_id as setmealId, checkgroup_id as checkgroupId FROM t_setmeal_checkgroup where setmeal_id = #{setmeal_id}")
    List<SetmealCheckgroup> findBysetmealid(@Param("setmeal_id") Integer setmealId);
}
